
<template>
    <div>{{count}}</div>
</template>
 
<script>
 const Counter = {
  computed: {
    count () {
      return this.$store.commit('increment',{
          amount:10
      })
    }
  }
}
export default Counter
</script>
